package com.jackiechancinema.ssm.service.Inte;

import com.jackiechancinema.ssm.bo.ScheduleBO;
import com.jackiechancinema.ssm.entity.Schedule;
import com.jackiechancinema.ssm.vo.PageVo;
import com.jackiechancinema.ssm.vo.R;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

public interface ScheduleService {
    PageVo<Schedule> page(int page, int limit);

    R delete(int scheduleId);


    R add(Schedule schedule);

    R update(Schedule schedule);

    PageVo<Schedule> page(ScheduleBO scheduleBO);

    R batchadd(MultipartFile file);

    void exportExcel(ScheduleBO o, HttpServletResponse response);
}
